package win.smartown.app.weather.entity.realTime;

/**
 * Created by smartown on 2017/5/9 10:58.
 * Desc:
 */
public class RealTime {

    private String status;
    private double temperature;
    private String skycon;
    private double cloudrate;
    private int aqi;
    private double humidity;
    private double pm25;
    private Precipitations precipitation;
    private Wind wind;

    public String getStatus() {
        return status;
    }

    public double getTemperature() {
        return temperature;
    }

    public String getSkycon() {
        return skycon;
    }

    public double getCloudrate() {
        return cloudrate;
    }

    public int getAqi() {
        return aqi;
    }

    public double getHumidity() {
        return humidity;
    }

    public double getPm25() {
        return pm25;
    }

    public Precipitations getPrecipitation() {
        return precipitation;
    }

    public Wind getWind() {
        return wind;
    }

    public final static class Precipitations {

        private Precipitation nearest;
        private Precipitation local;

        public Precipitation getNearest() {
            return nearest;
        }

        public Precipitation getLocal() {
            return local;
        }
    }

    public final static class Precipitation {

        private String status;
        private int intensity;
        private String datasource;

        public String getStatus() {
            return status;
        }

        public int getIntensity() {
            return intensity;
        }

        public String getDatasource() {
            return datasource;
        }
    }

    public final static class Wind {

        private double direction;
        private double speed;

        public double getDirection() {
            return direction;
        }

        public double getSpeed() {
            return speed;
        }
    }

}
